Home
last modified time | relevance | path

Searched hist:a4994b810d52ccb26de922c8d231fe05d14610d4 (Results 1 – 1 of 1) sorted by relevance

/linux/include/uapi/linux/
H A Dvirtio_scsi.hdiff a4994b810d52ccb26de922c8d231fe05d14610d4 Fri Mar 13 02:29:11 CET 2015 Michael S. Tsirkin <mst@redhat.com> uapi/virtio_scsi: allow overriding CDB/SENSE size

QEMU wants to use virtio scsi structures with
a different VIRTIO_SCSI_CDB_SIZE/VIRTIO_SCSI_SENSE_SIZE,
let's add ifdefs to allow overriding them.

Keep the old defines under new names:
VIRTIO_SCSI_CDB_DEFAULT_SIZE/VIRTIO_SCSI_SENSE_DEFAULT_SIZE,
since that's what these values really are:
defaults for cdb/sense size fields.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>